<script setup lang="ts">
import MyDialog from './components/MyDialog.vue';

//
</script>

<template>
  <MyDialog>
    <template v-slot:header>
      <h3 class="title">危险提示</h3>
    </template>


    <!-- 默认插槽 -->
      <h3 class="title">真的确定要删除吗？</h3>
  

    <template v-slot:footer>
      <button>登录</button>
      <button>注册</button>
    </template>

  </MyDialog>
</template>